package com.sz.designpattern.behavior11.command;

public class Test {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();

        Command command = new ShutdownCommand(receiver);
        Invoker invoker = new Invoker(command);

        invoker.action();
    }
}
